package plantshop.model.exceptions;

import java.io.Serializable;

public class ImproperLengthException extends Exception implements Serializable{
	private static final long serialVersionUID = 5951588142612634449L;
	int length1,length2;
	
	public ImproperLengthException(){
		
	}
	
	public ImproperLengthException(int length1,int length2){
		super("EXPECTED EQUAL LENGTHS: \nLENGTH1 = " + length1 + "\nLENGTH2 = " + length2);
		this.length1 = length1;
		this.length2 = length2;
	}	
}